FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller D

Total Complexity 302
Dependencies 61
Dependents 7
Total lines 1,443
Lines of code 1,002
Logical lines of code 509
Comment lines 233
Methods 119
Properties 6

Methods 119

Method Rating Maintainability Complexity Lines of code
__get()
C
39 24 61
onWpPluginActionLinks()
A
43 16 45
getSiteInstallationId()
A
48 11 30
onWpAutoUpdate()
A
48 10 33
isValidAdminArea()
A
59 10 13
blockIncompatibleUpdates()
A
54 8 20
setUpdateFirstDetectedAt()
A
58 8 16
loadFeatureHandler()
S
51 7 26
checkMinimumRequirements()
S
54 7 19
onWpAdminInit()
S
58 6 15
loadAllFeatures()
S
54 5 21
buildPrivacyPolicyContent()
S
51 4 28
getUserMeta()
S
55 4 19
prefix()
S
66 5 7
wpPrivacyErase()
S
59 4 14
getLabels()
S
58 4 14
getModule()
S
59 4 14
processShieldNonceActions()
S
60 4 13
doPluginLabels()
S
61 4 13
getSessionId()
S
62 4 11
doRegisterHooks()
S
50 3 25
onWpLoaded()
S
59 3 16
onWpDeactivatePlugin()
S
61 3 13
getRootFile()
S
60 3 13
adminNoticeDoesNotMeetRequirements()
S
57 2 18
deleteFlags()
S
66 3 9
filter_hidePluginUpdatesFromUI()
S
69 3 6
getMeetsBasePermissions()
S
70 3 6
saveCurrentPluginControllerOptions()
S
63 3 10
GetInstance()
S
65 3 9
getAdminNotices()
S
64 3 10
isPluginAdmin()
S
70 3 6
adjustNocacheHeaders()
S
65 3 8
onPluginRowMeta()
S
64 3 9
wpPrivacyExport()
S
65 3 8
getForceOffFilePath()
S
66 3 8
loadConfig()
S
60 2 14
loadCorePluginFeatureHandler()
S
60 2 13
getUniqueRequestId()
S
66 2 8
getHumanName()
S
74 2 4
getShieldAction()
S
74 2 4
getIsResetPlugin()
S
71 2 6
loadEventsService()
S
66 2 8
deleteForceOffFile()
S
68 2 8
getShieldNonceAction()
S
74 2 4
getPathPluginSpec()
S
78 2 3
runTests()
S
65 2 9
getShortRequestId()
S
73 2 4
filter_hidePluginFromTableList()
S
70 2 6
getRequirementsMessages()
S
68 2 8
onWpActivatePlugin()
S
66 2 8
getPluginCachePath()
S
69 2 6
onWpPrivacyRegisterEraser()
S
64 2 10
onWpInit()
S
64 2 10
onWpPrivacyRegisterExporter()
S
64 2 10
getNonceActionData()
S
64 2 10
getRenderer()
S
65 2 9
getBasePermissions()
S
71 2 6
onWpLogout()
S
75 2 5
__construct()
S
62 1 12
adminNoticePluginFailedToLoad()
S
65 1 11
getCurrentUserMeta()
S
80 1 3
getModule_Comments()
S
80 1 3
getModule_Traffic()
S
80 1 3
getModule_Sessions()
S
80 1 3
getModulesNamespace()
S
82 1 3
getModule_SecAdmin()
S
80 1 3
getSessionCookieID()
S
80 1 3
getModule_Reporting()
S
80 1 3
getModule_AuditTrail()
S
80 1 3
getModule_Comms()
S
80 1 3
getModule_Integrations()
S
80 1 3
getModule_Plugin()
S
81 1 3
getModule_LoginGuard()
S
80 1 3
getModule_Data()
S
80 1 3
getModule_Email()
S
80 1 3
getModule_Events()
S
80 1 3
getModule_License()
S
80 1 3
getModule_Firewall()
S
80 1 3
getModule_IPs()
S
80 1 3
getModule_HackGuard()
S
80 1 3
getModule_Insights()
S
80 1 3
getModule_UserManagement()
S
80 1 3
fireEvent()
S
76 1 4
setSessionCookie()
S
66 1 9
prefixOption()
S
79 1 3
getIsPage_PluginAdmin()
S
78 1 3
getPluginPrefix()
S
78 1 3
getOptionStoragePrefix()
S
80 1 3
isModulePage()
S
78 1 3
getCfgProperty()
S
79 1 3
getPluginSpec_Path()
S
79 1 3
onWpShutdown()
S
71 1 6
getParentSlug()
S
80 1 3
onWpPluginUpdateMessage()
S
70 1 7
initCrons()
S
65 1 9
hasCacheDir()
S
80 1 3
deletePlugin()
S
69 1 7
isThisPluginModuleRequest()
S
78 1 3
loadServices()
S
82 1 3
getIsWpmsNetworkAdminOnly()
S
80 1 3
getPluginSlug()
S
80 1 3
hasSessionId()
S
79 1 3
getVersionNumeric()
S
73 1 4
getIfForceOffActive()
S
80 1 3
clearSession()
S
76 1 4
getConfigStoreKey()
S
77 1 3
isRelabelled()
S
78 1 3
isPremiumActive()
S
81 1 3
isPremiumExtensionsEnabled()
S
80 1 3
getVersion()
S
80 1 3
getPluginUrl()
S
77 1 3
getTextDomain()
S
80 1 3
getRootDir()
S
79 1 3
getPath_Templates()
S
78 1 3
getPath_Languages()
S
78 1 3
getPath_ConfigFile()
S
80 1 3
getPluginUrl_DashboardHome()
S
80 1 3
getPluginUrl_AdminMainPage()
S
81 1 3